/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.shop.service.product;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.hk.shop.entity.product.HkShopProductSku;
import com.thinkgem.jeesite.modules.hk.shop.dao.product.HkShopProductSkuDao;

/**
 * 乐购产品skuService
 * @author 罗天文
 * @version 2018-05-16
 */
@Service
@Transactional(readOnly = true)
public class HkShopProductSkuService extends CrudService<HkShopProductSkuDao, HkShopProductSku> {

	public HkShopProductSku get(String id) {
		return super.get(id);
	}
	
	public List<HkShopProductSku> findList(HkShopProductSku hkShopProductSku) {
		return super.findList(hkShopProductSku);
	}
	
	public Page<HkShopProductSku> findPage(Page<HkShopProductSku> page, HkShopProductSku hkShopProductSku) {
		return super.findPage(page, hkShopProductSku);
	}
	
	@Transactional(readOnly = false)
	public void save(HkShopProductSku hkShopProductSku) {
		super.save(hkShopProductSku);
	}
	
	@Transactional(readOnly = false)
	public void delete(HkShopProductSku hkShopProductSku) {
		super.delete(hkShopProductSku);
	}

    public String getSku(String id, String c, String s) {
    return dao.getSku(id,c,s);
	}
}